package com.example.financeapi.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * 证券账户表(F_SECURITIES_ACCOUNT)实体类
 * @author Alvin
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class FSecuritiesAccount implements Serializable {
    private static final long serialVersionUID = 1L;
    /**主键id*/
    private int id;
    /**客户号*/
    @NotEmpty(message = "客户号不能为空")
    private String customeCode;
    /**通讯密码*/
    @NotEmpty(message = "通讯密码不能为空")
    private String signalPassword;
    /**交易密码*/
    @NotEmpty(message = "交易密码不能为空")
    private String traderPassword;
    /**归属平台*/
    @NotEmpty(message = "归属平台不能为空")
    private String ascriptionPlatform;
    /**用户id*/
    private String unionid;
    /**是否开启打新债*/
    private int isOpen;
    /**是否启用 0 启用 1禁用*/
    private int status;
    /**图片地址*/
    private String imagePath;
}